<?php
session_start();
$User_ID=$_SESSION['User_ID'];
?>
<?php

require_once("includes/database.php"); 





{	

$Owner_User_ID = trim ($_POST['Owner_User_ID']);
date_default_timezone_set ("Asia/Hong_Kong");
$timezone= date_default_timezone_get();

$date =date("Y/m/d");

$tsql="DELETE FROM user_db
WHERE User_ID='{$Owner_User_ID}'";

//sendEmail(getEmail($owner_User_ID_add),"Updated Immunization Date","From Petformance");

$data =  mysql_query($tsql,$con);

if( $data )
{
    /*echo "Connection established.\n";*/
	 $message = "Deleting Veterinarian Successful";
	 echo "<script type='text/javascript'>alert('$message');window.location = 'thesis_admin_page.php?page=1';</script>";
}
else
{
   $message = "Deleting Veterinarian Failed";
	 echo "<script type='text/javascript'>alert('$message');window.location = 'thesis_admin_page.php?page=1';</script>";
     die( print_r( mysql_error(), true));
}
}

?>